package com.jyw.router.hospital.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jyw.router.common.annotation.Excel;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 注册用户信息对象 r_hospital_register_user
 * 
 * @author shenjun
 * @date 2023-04-17
 */
@TableName("r_hospital_register_user")
@Data
public class HospitalRegisterUser
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 用户电话 */
    @Excel(name = "用户电话")
    private String userPhone;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 医院ID */
    @Excel(name = "医院ID")
    private Long hospitalId;

    /** 数据有效状态 1有效 0无效 */
    @Excel(name = "数据有效状态 1有效 0无效")
    private Integer recordState;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
